#ifndef _FACADE_H_
#define _FACADE_H_

class Television
{
public:
    void on();
    void off();
};

class Light
{
public:
    void on();
    void off();
};

class Audio
{
public:
    void on();
    void off();
};

class Microphone
{
public:
    void on();
    void off();
};

class DVDplayer
{
public:
    void on();
    void off();
};

// 外观模式
class KTVMode
{
public:
    KTVMode();
    ~KTVMode();
    void onKTV();
    void offKTV();
private:
    Television* _pTV;
    Light* _pLight;
    Audio* _pAudio;
    Microphone* _pMic;
    DVDplayer* _pDvd;
};

#endif // _FACADE_H_